package com.ruige.service.pojo;


import lombok.Data;

import java.util.Date;

@Data
public class Service {

    private Integer id;//id
    private String ip;//服务地址
    private String port;//服务端口
    private String service_name;//服务名
    private String all_server;//服务下的服务
    private Date register_time;//注册时间
    private Date last_update_time;//最后一次续约的时间
    private String status;//服务状态
    private String type;//服务类型


    public Service() {
    }

    public Service(String ip, String port, String service_name, String all_server, String type) {
        this.ip = ip;
        this.port = port;
        this.service_name = service_name;
        this.all_server = all_server;
        this.type = type;
    }


}
